package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `json:"username"`
	Password string `json:"password"`
}
type UserRole struct {
	gorm.Model
	Uid int `json:"uid"`
	Rid int `json:"rid"`
}
type Role struct {
	gorm.Model
	Title string `json:"title"`
	Tel   string `json:"tel"`
	Email string `json:"email"`
}
type RoleNode struct {
	gorm.Model
	Rid int `json:"rid"`
	Nid int `json:"nid"`
}
type Node struct {
	gorm.Model
	NodeName string `json:"node_name"`
}
